|
CLONE SPRITE
This command will clone the specified sprite to the target sprite number.
CLONE SPRITE Sprite Number, Destination Sprite Number
Sprite Number
Integer
The sprite number
Destination Sprite Number
Integer
The cloned sprite number sharing all the settings of the original sprite
This command does not return a value.
A cloned sprite shares all the settings of the original sprite, and once created can be modified as a sprite in its own right. The parameters should be specified using integer values.
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
clone sprite 1,2
sprite 2,200,200,1
do
loop
end
SPRITE Commands Menu
Index
|